import React from 'react'
import { Button, Text, View } from 'react-native'
import { clear } from '../../utils/Storage'

export default function Home() {
  const clearFn = () => {
    clear()
  }
  return (
    <View>
      <Text>我</Text>
      <Button title='退出登录' onPress={clearFn} />
    </View>
  )
}
